import request from "./request"

// const baseUrl = "https://autumnfish.cn"
// const baseUrl = "/api"
const baseUrl = ""

// 获取banner
export const GetBanner = (data) => request("get", baseUrl + "/banner", data);

// 获取推荐歌单
export const GetRecommend = (data) => request("get", baseUrl + "/personalized", data);

// 获取新歌速递
export const GetSingle = (data) => request("get", baseUrl + "/personalized/newsong", data);

// 获取推荐mv
export const GetMv = (data) => request("get", baseUrl + "/personalized/mv", data);

// 获取歌曲播放地址
export const GetSongUrl = (data) => request("get", baseUrl + "/song/url", data);

export const GetSongDetail = (data) => request("get", baseUrl + "/song/detail", data)

// 获取歌单详情
export const GetListDetail = (data) => request("get", baseUrl + "/playlist/detail", data);

// 获取歌单评论
export const GetListComments = (data) => request("get", baseUrl + "/comment/playlist", data);

// 获取所有mv
export const GetAllMv = (data) => request("get", baseUrl + "/mv/all", data);

// 搜索
export const Search = (data) => request("get", baseUrl + "/search", data);

// 获取排行榜的音乐
export const MusicList = (data) => request("get", baseUrl + "/top/song", data);

// 获取mv
export const GetSingleMv = (data) => request("get", baseUrl + "/mv/url", data);

// 获取mv详情
export const GetMvDetail = (data) => request("get", baseUrl + "/mv/detail", data);

// 获取mv发布者信息
export const MvAuthor = (data) => request("get", baseUrl + "/artists", data);

// 获取精品歌单信息
export const GetHightQuality = (data) => request("get", baseUrl + "/top/playlist/highquality", data);

// 获取分类所有歌单
export const GetList = (data) => request("get", baseUrl + "/top/playlist/", data);

// 获取歌词
export const GetLyric = (data) => request("get", baseUrl + "/lyric", data)